package cn.com.cifi.mars.bean.vo.supply;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 明源签约视图
 * @author Administrator
 *
 */

@ApiModel(value="明源签约视图",description="明源签约视图")
public class ContractVO {
	
	@ApiModelProperty(name = "buildId", value = "楼栋ID")
	private String buildId;
	
	@ApiModelProperty(name = "yearMonth", value = "时间（年月）")
	private String yearMonth;
	
	@ApiModelProperty(name = "bldArea", value = "签约建筑面积")
    private BigDecimal bldArea;
    
	@ApiModelProperty(name = "cjRmbTotal", value = "签约成交总价")
    private BigDecimal cjRmbTotal;
    
	@ApiModelProperty(name = "bcTotal", value = "补差金额")
    private BigDecimal bcTotal;
    
	@ApiModelProperty(name = "bcArea", value = "补差面积")
    private BigDecimal bcArea;
	
	@ApiModelProperty(name = "num", value = "套数")
    private Integer num;

	public String getBuildId() {
		return buildId;
	}

	public void setBuildId(String buildId) {
		this.buildId = buildId;
	}

	public String getYearMonth() {
		return yearMonth;
	}

	public void setYearMonth(String yearMonth) {
		this.yearMonth = yearMonth;
	}

	public BigDecimal getBldArea() {
		if(bldArea == null) {
			bldArea = BigDecimal.ZERO;
		}
		return bldArea;
	}

	public void setBldArea(BigDecimal bldArea) {
		this.bldArea = bldArea;
	}

	public BigDecimal getCjRmbTotal() {
		if(cjRmbTotal == null) {
			cjRmbTotal = BigDecimal.ZERO;
		}
		return cjRmbTotal;
	}

	public void setCjRmbTotal(BigDecimal cjRmbTotal) {
		this.cjRmbTotal = cjRmbTotal;
	}

	public BigDecimal getBcTotal() {
		if(bcTotal == null) {
			bcTotal = BigDecimal.ZERO;
		}
		return bcTotal;
	}

	public void setBcTotal(BigDecimal bcTotal) {
		this.bcTotal = bcTotal;
	}

	public BigDecimal getBcArea() {
		if(bcArea == null) {
			bcArea = BigDecimal.ZERO;
		}
		return bcArea;
	}

	public void setBcArea(BigDecimal bcArea) {
		this.bcArea = bcArea;
	}

	public Integer getNum() {
		if(num == null) {
			num = 0;
		}
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	@Override
	public String toString() {
		return "ContractVO{" +
				"buildId='" + buildId + '\'' +
				", yearMonth='" + yearMonth + '\'' +
				", bldArea=" + bldArea +
				", cjRmbTotal=" + cjRmbTotal +
				", bcTotal=" + bcTotal +
				", bcArea=" + bcArea +
				", num=" + num +
				'}';
	}
}
